package com.lawrence.user.service;

import com.lawrence.user.pojo.User;
import org.springframework.stereotype.Service;

/**
 * @author wanglanglang
 */
@Service
public class UserService {
    /**
     * 模拟根据 id 查询用户
     * @param id
     * @return
     */
    public User queryById(Long id) {
        return new User(1L,"小A","北凉");
    }
}